﻿<UserControl x:Class="XamlHelpmeet.UI.Editors.LabelEditor"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <UserControl.Resources>

        <Style TargetType="{x:Type StackPanel}">
            <Setter Property="Margin" Value="0,10,0,0" />
        </Style>

    </UserControl.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <StackPanel Orientation="Horizontal">
            <TextBlock Margin="10,0,5,0"
                       HorizontalAlignment="Left"
                       Text="Label" />
            <TextBox Width="100"
                     VerticalAlignment="Top"
                     Text="{Binding Path=ControlLabel,
                                    Mode=TwoWay}" />
        </StackPanel>

    </Grid>

</UserControl>
